package com.mybatisflex.test.mapper;

import com.mybatisflex.core.BaseMapper;
import com.mybatisflex.test.entity.Account1;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author DELL
 * @version 1.0
 * @project Mybatis-flex-text
 * @description
 * @date 2023/12/28 16:30:58
 */
public interface AccountMapper1 extends BaseMapper<Account1> {
    @Select("select * from tb_account where id = #{id}")
    Account1 selectById(@Param("id") Object id);

    Account1 selectByName(@Param("name") String name);
}
